package cn.agiledata.security.db.bean;

import cn.agiledata.bank.hibernateBean.Account;

public class AccountEnctBean extends EnctBean {

	public AccountEnctBean(Account a) {
		addNeedEnctList(a.getId()); //id
		addNeedEnctList(a.getAccountId());	//客户编号
		addNeedEnctList(a.getEmail());	//email
		addNeedEnctList(a.getLoginPassword());	//登陆密码
		addNeedEnctList(a.getPayPassword());	//支付密码
		addNeedEnctList(a.getMobile());	//手机
		addNeedEnctList(a.getStatus());	//状态
		addNeedEnctList(a.getAuditStatus());	//审核状态
		addNeedEnctList(a.getChainUrl());	//支付链
		addNeedEnctList(a.getIvrStatus());	//是否开通IVR:(是/否)
		addNeedEnctList(a.getIvrLoginPassword());	//IVR登陆密码
		addNeedEnctList(a.getIvrPayPassword());	//IVR支付密码
		addNeedEnctList(a.getTotalScores());	//累计积分
		addNeedEnctList(a.getAuthenticationStatus());	//认证状态
		addNeedEnctList(a.getDefaultSubAccount()==null?null:a.getDefaultSubAccount().getId());	//默认子帐户
	}

}
